<!DOCTYPE html>
<html>
<#include "../head.html">
<body class="full">
<table class="mc">
<tr>
<td class="mc-l">
    <!--左侧导航---{-->
    <div id="navPanelContainer">
        <div class="system-logo cd"></div>
        <!--管理员信息---{-->
        <#include "../adminInfo.html">
            <!--管理员信息---}-->
            <div class="nav-wrap">
           	<#include "left.html">
            </div>
    </div>
    <!--左侧导航---}-->
</td>
<td class="mc-m">
    <div class="navToggle"></div>
</td>
<td class="mc-r">
<!--顶部导航---{-->
<#include "../topNav.html">
<!--顶部导航---}-->

<!--面包屑导航---{-->
<#assign moduleName="查看红包明细">
<#include "banner.html">
<!--面包屑导航---}-->

<!--工具栏--{-->
<div id="toolbar" class="clearfix">
	
		
			<div class="toolbor-module export">
                           	<div class="formTit"> 已使用红包：${(usedTotal?c)!0}元 </div>
                           </div>
                           
                           <div class="toolbor-module export">
                           	<div class="formTit"> 未使用红包：${(unUsedTotal?c)!0}元 </div>
                           </div>
                           
    <div class="toolbor-module">
        <input type="button" class="input-button return" value="返回" onclick="history.go(-1)">
    </div>
</div>
<!--工具栏--}-->

			<div id="main" class="clearfix">
							
                               
                              <div class="valBox mb15 clearfix">
                                   
                                   <div class="fp w349 clearfix">
                                       		<table class="data-list">
                                       			 <tr class="header">
                                       			 	<td>ID</td>
						                            <td>用户名</td>
						                            <td>真实姓名</td>
						                            <td>红包额度</td>
						                            <td>红包类型</td>
						                            <td>到期时间</td>
						                            <td>创建时间</td>
						                            <td>是否兑换</td>
                       							</tr>
                       							
                       							 <#import "../../common/function.html" as func>
						                            <#list list as item>
						                                <tr class="s">
						                                    <td>${item.id?c}</td>
						                                    <td>${item.user.showName!''}</td>
						                                    <td>${item.user.realName!''}</td>
						                                    <td>${item.redPacketAmount!0}元</td>
						                                    <td>
						                                    <#if item.redPacketType??&&item.redPacketType=="01">充值
						                                    <#elseif item.redPacketType=="02">注册
						                                    <#elseif item.redPacketType=="03">认证
						                                    <#elseif item.redPacketType=="04">邀请
						                                    <#elseif item.redPacketType=="05">首次投标
						                                    <#elseif item.redPacketType == "51">一马当先
															<#elseif item.redPacketType == "52">一锤定音
															<#elseif item.redPacketType == "53">一马当先
															<#elseif item.redPacketType == "54">幸运之星
															<#elseif item.redPacketType == "10">中秋宝箱
															<#elseif item.redPacketType == "11">中秋状元
															<#elseif item.redPacketType == "12">中秋榜眼
															<#elseif item.redPacketType == "13">中秋探花
															<#elseif item.redPacketType == "20"||item.redPacketType == "21"||item.redPacketType == "22"||item.redPacketType == "23">十一抢钱
						                                    <#elseif item.redPacketType == "40">邀请奖励
						                                    <#elseif item.redPacketType == "55">幸运女神1
						                                    <#elseif item.redPacketType == "56">幸运女神2
						                                    <#else>其他
						                                    </#if>
						                                    </td>
						                                    <td>${item.validDate!''}</td>
						                                    <td>${item.createDate!''}</td>
						                                    <#if item.exchangeRecord??>
						                                    <td style="color:green;">已兑换</td>
						                                    <#else>
						                                    <td>未兑换</td>
						                                    </#if>
						                                </tr>
						                            </#list>
						                       							
                                       		</table>
                                   </div>
                                   
                		
                     </div>
                      <div class="other-tool" style="margin:10px">
                                     <dl class="refresh-data">
                                         <dt class="refresh-data-icon"></dt>
                                         <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                     </dl>
                       </div>
                      <div class="container">
                              <#import "../../common/page.html" as pager>
                                <@pager.pagination page=page url="${pageUrl}" map=param style="style1"  />
                          </div>
				</div>

</td>
</tr>
<tr>
    <!--尾部--{-->
    <td colspan="3" class="mc-b"><#include "../foot.html"></td>
    <!--尾部--}-->
</tr>
</table>

</body>
</html>
<#include "../jsPage.html">


